﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing.Imaging;
using System.Drawing;

namespace THO7AlgoritmTimerApplication.Filters
{
    public abstract class Filter
    {

        protected BitmapData _sourceData;
        protected int _height;
        protected int _width;
        protected Bitmap _sourceImage;

        public Filter()
        {
        }

        public void InitFilter(int height, int width, BitmapData data)
        {
            _sourceData = data;
            _height = height;
            _width = width;
        }

        public void InitFilter(int height, int width, BitmapData data, Bitmap im)
        {
            _sourceImage = im;
            _sourceData = data;
            _height = height;
            _width = width;
        }

        public abstract Bitmap RunFilter();
    }
}
